home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: phcoms4.seri.philips.nl!panther!baynes
- From: baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes)
- Subject: Re: help with float conversion needed
- Sender: news@ukpsshp1.serigate.philips.nl (account for localnews)
- Message-ID: <Dn8BLG.LBr@ukpsshp1.serigate.philips.nl>
- Date: Fri, 23 Feb 1996 12:48:52 GMT
- References: <heller-2202961807440001@mac3.ifr.ing.tu-bs.de>
- Organization: Philips Semiconductors, Southampton, UK
- X-Newsreader: TIN [version 1.2 PL2]
-
- Heller (heller@ifr.ing.tu-bs.de) wrote:
-
-
- : I am developing control applications with a 68040-VMEbus board. For
- : simple I/O-Operations and interfacing I need C-functions to convert
- : float/double to int or long int. Unfortunately my compiler package
- : does not support float operations or standard I/O.
- : Therefore I have to implement all functions on my own.
-
- I assume you have a FREESTANDING ANSI C compiler.
- This must support floating point to be conforming, so you will have to
- take that up with your vendor. It does not have to support standard IO so
- you may have to write what you need. (Hosted compilers do have to support
- standard IO.)
-
- : Is there anybody who wrote such conversion routines or knows where
- : I can find some on the net ?
-
- You won't get much on this newsgroup.
- You could try on something like comp.sources.wanted. You could look
- at a public domain compiler such as GCC (this accepts ANSI C and I am
- sure there are versions that generate 68k code). You can also read
- "The standard C library" by P.J.Plauger, publisher Prentice Hall. ISBN
- 0-13131509-9 which contains example implementations.
-
- --
- Stephen Baynes baynes@mulsoc2.serigate.philips.nl
- Philips Semiconductors Ltd
- Southampton My views are my own.
- United Kingdom
-